* server.el (server-create-window-system-frame): Improved comment.
authorJan D. <jan.h.d@swipnet.se>
Fri, 9 Nov 2012 06:27:01 +0000 (07:27 +0100)
committerJan D. <jan.h.d@swipnet.se>
Fri, 9 Nov 2012 06:27:01 +0000 (07:27 +0100)
lisp/ChangeLog
lisp/server.el

index 2942532a37e51e540397240c819d97384a74ca55..997b24473d4c8fc88f4c12e3b2eaacf7bb8d0f1b 100644 (file)
@@ -1,3 +1,7 @@
+2012-11-09  Jan Djärv  <jan.h.d@swipnet.se>
+
+       * server.el (server-create-window-system-frame): Improved comment.
+
 2012-11-08  Jan Djärv  <jan.h.d@swipnet.se>
 
        * server.el (server-create-window-system-frame): Handle Nextstep
index ab0dc95a43fb1f24472b4c6f26e85eee31787455..d36ec1745bdb1cc1d76675ed6596ceb66b29bed0 100644 (file)
@@ -842,7 +842,11 @@ This handles splitting the command if it would be bigger than
     (unless (assq w window-system-initialization-alist)
       (setq w nil))
 
-    ;; Special case for ns.
+    ;; Special case for ns.  This is because DISPLAY may not be set at all
+    ;; which in the ns case isn't an error.  The variable display then becomes
+    ;; the fully qualified hostname.
+    ;; It may also be a valid X display, but if Emacs is compiled for ns, it
+    ;; can not make X frames.
     (if (featurep 'ns-win)
        (setq w 'ns display "ns"))